﻿namespace Coater.Base
{
    /// <summary>
    ///     设备配置返回结果
    /// </summary>
    public class ConfigResult<T>
    {
        /// <summary>
        ///     读取配置是否成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        ///     如果失败，对应的告警信息
        /// </summary>
        public string AlarmMessage { get; set; } = string.Empty;

        /// <summary>
        ///     读取到的设备信息集合
        /// </summary>
        public List<T> DeviceInfos { get; set; } = new();
    }
}